function getCurDate(format,subMinis)
    {
	  var now_1 = new Date();
		if(format==null){
			format="";
		}
		if(subMinis!=null){
			now_1.setMinutes(now_1.getMinutes()+subMinis);
		}
        var year_1 = now_1.getFullYear();       //��
        var month_1 = now_1.getMonth() + 1;     //��
        var day_1 = now_1.getDate();            //��
        var clock_1 = year_1 + ""+format;
        if(month_1 < 10){
		clock_1 += "0";
        clock_1 += month_1 +format;
		}else{
		clock_1 += month_1 + format;
		}
            
        if(day_1 < 10){
		 clock_1 += "0";   
        clock_1 += day_1;
		}else{
		 clock_1 += day_1;
		}
         return (clock_1);   
    }

function getCurTime(format,subMinis)
{
	var now_1 = new Date();
	if(format==null){
		format="";
	}
    if(subMinis!=null){
		now_1.setMinutes(now_1.getMinutes()+subMinis);
	}
    var hh_1 = now_1.getHours();            
    var mm_1 = now_1.getMinutes();       
	var ss_1 = now_1.getSeconds(); 
	var clock_1 ="";
	if(hh_1 < 10){
		clock_1 += "0";
		clock_1 += hh_1 + format;
	}else{
		clock_1 += hh_1 + format;
	}
     
    if(mm_1 < 10){
	clock_1 += "0";
    clock_1 += mm_1 + format;
	}else{
	clock_1 += mm_1 + format;
	}
        
    if(ss_1 < 10){
	 clock_1 += "0";   
    clock_1 += ss_1;
	}else{
	 clock_1 += ss_1;
	}
     return (clock_1);   
}

function getCurDateTime()
    {
        var now_2 = new Date();
        var year_2 = now_2.getFullYear();       //��
        var month_2 = now_2.getMonth() + 1;     //��
        var day_2 = now_2.getDate();            //��
        var hh_2 = now_2.getHours();            //ʱ
        var mm_2 = now_2.getMinutes();          //��
		var ss_2 = now_2.getSeconds();         //��
		
        var clock_2 = year_2 + "";
        if(month_2 < 10){
		clock_2 += "0";
        clock_2 += month_2 + "";
		}else{
		clock_2 += month_2 + "";
		}
            
        if(day_2 < 10){
		clock_2 += "0";   
        clock_2 += day_2 + "";
		}else{
		clock_2 += day_2 + "";
		}
            
        if(hh_2 < 10){
		 clock_2 += "0"; 
		clock_2 += hh_2;
		}else{
		clock_2 += hh_2;
		}
        
        if (mm_2 < 10){
		clock_2 += '0'; 
        clock_2 += mm_2; 
		}else{
		clock_2 += mm_2;
		}
			
		if (ss_2 < 10){
		clock_2 += '0'; 
        clock_2 += ss_2;
		}else{
		clock_2 += ss_2;
		}
		
		var ss_4 = now_2.getMilliseconds();
		if(ss_4<100){
			clock_2 += '0';
			if(ss_4<10){
				clock_2 += '0';
				clock_2 += ss_4;
			}else{
				clock_2 += ss_4;
			}
		}else{
			clock_2 += ss_4;
		}
	
		return (clock_2);
    }
function getCurDateTimems()
    {
        var now_3 = new Date();
        var year_3 = now_3.getFullYear();       //��
        var month_3 = now_3.getMonth() + 1;     //��
        var day_3 = now_3.getDate();            //��
        var hh_3 = now_3.getHours();            //ʱ
        var mm_3 = now_3.getMinutes();          //��
		var ss_3 = now_3.getSeconds();         //��
        var clock_3 = year_3 + "";
        if(month_3 < 10){
		clock_3 += "0";
        clock_3 += month_3 + "";
		}else{
		clock_3 += month_3 + "";
		}
            
        if(day_3 < 10){
		clock_3 += "0";   
        clock_3 += day_3 + "";
		}else{
		clock_3 += day_3 + "";
		}
            
        if(hh_3 < 10){
		 clock_3 += "0"; 
		clock_3 += hh_3;
		}else{
		clock_3 += hh_3;
		}
        
        if (mm_3 < 10){
		clock_3 += '0'; 
        clock_3 += mm_3; 
		}else{
		clock_3 += mm_3;
		}
			
		if (ss_3 < 10){
		clock_3 += '0'; 
        clock_3 += ss_3;
		}else{
		clock_3 += ss_3;
		}
		
        return (clock_3);
    }